$(function(){
	$("#sHistory").append(loading);
	$.get(uri,function(html){
		$(".loading").remove();
		var last = $(html).find(".last");
		var tbs = $(html).find("#lk");
		last.find("span").remove();
		last.find("a").each(function(){
			var book = $(this).text();
			$(this).attr("href","search.html?book="+encodeURIComponent(book));			
		});
		$("#sHistory").append(last);
		
		var tbs = $(html).find("#lk");
		tbs.find("a").each(function(){
			var book = $(this).text();
			$(this).attr("href","search.html?book="+encodeURIComponent(book));			
		});
		$("#sHot").append(tbs);
	});
})